/*
 * Copyright (C) 2021 Huawei Device Co., Ltd.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.zyh.actionitembadge_ohos.other;

/**
 * @since 2021-06-10
 */
public class ListBeanContent {
    private String title;
    private String author;
    private String txtContent;
    private String version;
    private String apaVersion;
    private String url;

    /**
     * 右侧库信息构造器
     * @param title 标题
     * @param author 作者
     * @param txtContent 文本内容
     * @param version 版本
     * @param apaVersion apa版本
     * @param url 链接地址
     **/
    public ListBeanContent(String title, String author, String txtContent, String version,
                           String apaVersion, String url) {
        this.title = title;
        this.author = author;
        this.txtContent = txtContent;
        this.version = version;
        this.apaVersion = apaVersion;
        this.url = url;
    }

    /**
     * 获取url
     *
     * @return url
     **/
    public String getUrl() {
        return url;
    }

    /**
     * 设置url
     *
     * @param url url链接
     **/
    public void setUrl(String url) {
        this.url = url;
    }

    /**
     * 获取title
     *
     * @return title
     **/
    public String getTitle() {
        return title;
    }

    /**
     * 设置title
     *
     * @param title 设置标题
     **/
    public void setTitle(String title) {
        this.title = title;
    }

    /**
     * 获取author
     *
     * @return author
     **/
    public String getAuthor() {
        return author;
    }

    /**
     * 设置作者
     *
     * @param author 作者
     **/
    public void setAuthor(String author) {
        this.author = author;
    }

    /**
     * 获取 txtContent
     *
     * @return txtContent
     **/
    public String getTxtContent() {
        return txtContent;
    }

    /**
     * 设置txtContent
     *
     * @param txtContent
     **/
    public void setTxtContent(String txtContent) {
        this.txtContent = txtContent;
    }

    /**
     * 获取version
     *
     * @return version
     **/
    public String getVersion() {
        return version;
    }

    /**
     * 设置version
     *
     * @param version 版本信息
     **/
    public void setVersion(String version) {
        this.version = version;
    }

    /**
     * 获取apaVersion
     *
     * @return apaVersion
     **/
    public String getApaVersion() {
        return apaVersion;
    }

    /**
     * 设置 apaVersion
     *
     * @param apaVersion apa 版本
     **/
    public void setApaVersion(String apaVersion) {
        this.apaVersion = apaVersion;
    }
}
